package com.siro.auth.base.log.annotation;

import com.siro.auth.base.log.enums.BusinessType;
import com.siro.auth.base.log.enums.OperatorType;

import java.lang.annotation.*;

/**
 * 自定义log注解
 *
 * @author starsea
 * @date 2022-11-12 15:11
 */
@Target({ElementType.PARAMETER,ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Log {
    /**
     * 模块
     */
    public String title() default "";

    /**
     * 功能
     */
    public BusinessType businessType() default BusinessType.OTHER;

    /**
     * 操作人类别
     */
    public OperatorType operatorTypeType() default OperatorType.OTHER;
}
